/*
 *  Wheel.cpp
 *
 *  Created on: 10 mart , 2015
 *  Author: Patrick van ieperen
 */

#include "Wheel.h"

using namespace std;

    Wheel::Wheel(int diameter, const string& material)
    {
        if (diameter > 0 )
        {
            this->diameter = diameter;
            this->material = material;
        }
    }

    string Wheel::getMaterial()
    {
        return material;
    }

    void Wheel::setMaterial(const string& material)
    {
        this->material = material;
    }

    int Wheel::getDiameter()
    {
        return diameter;
    }
